package com.autohammal.exception;

import com.autohammal.ITask;

public class TaskExecuteException extends AutoHammalException {

	private static final long serialVersionUID = 2812236614003874056L;
	private ITask exceptionTask = null;

	public TaskExecuteException(ITask exceptionTask) {
		this.exceptionTask = exceptionTask;
	}

	public TaskExecuteException(ITask exceptionTask, String message) {
		super(message);
		this.exceptionTask = exceptionTask;
	}

	public ITask getExceptionTask() {
		return exceptionTask;
	}

	public void setExceptionTask(ITask exceptionTask) {
		this.exceptionTask = exceptionTask;
	}

}
